{% extends "profile.html" %}
{% block extrahead %}
    {{ block.super }}
    <script type="text/javascript">
        var notification_page = true;
    </script>
{% endblock  %}
{% block profile_content %}
    <div id=leftcolumn>
    {% include "profile_navigate.html" %}
    {% include "messages.html" %}
    <div id="notification_container">
        <span id="notification_title">Edit notifications</span>
        <div id="notification">
            <form action="/notifications/" method="post">
                {% csrf_token %}
                <p>
                    <label class="title">Notify me when someone:</label>
                    <span>Email</span>
                    <span>Website</span>
                </p>
                {{ form.someone_comment_me_site.errors }}
                <p>
                    <label>{{ form.someone_comment_me_site.label }}</label>
                    <span>{{ form.someone_comment_me_email }}</span>
                    <span>{{ form.someone_comment_me_site }}</span>
                </p>
                <p>
                    <label>{{ form.someone_follow_me_site.label }}</label>
                    <span>{{ form.someone_follow_me_email }}</span>
                    <span>{{ form.someone_follow_me_site }}</span>
                </p>
                <p><label class="title">Notify me when someone I follow:</label></p>
                <p>
                    <label>{{ form.follow_submit_item_site.label }}</label>
                    <span>{{ form.follow_submit_item_email }}</span>
                    <span>{{ form.follow_submit_item_site }}</span>
                </p>
                <p>
                    <label>{{ form.follow_comment_item_site.label }}</label>
                    <span>{{ form.follow_comment_item_email }}</span>
                    <span>{{ form.follow_comment_item_site }}</span>
                </p>
                <p><label class="title">Notify me when my item:</label></p>
                <p>
                    <label>{{ form.minutes_2_site.label }}</label>
                    <span>{{ form.minutes_2_email }}</span>
                    <span>{{ form.minutes_2_site }}</span>
                </p>
                <p><label class="title">Notify me when 8minutes:</label></p>
                <p>
                    <label>{{ form.news_site.label }}</label>
                    <span>{{ form.news_email }}</span>
                    <span>{{ form.news_site }}</span>
                </p>
                <p>
                    <input type="submit" id="notification_button" class="submit_button" value="Update" />
                </p>
            </form>
        </div>
    </div>
    </div>
    <div id="rightcolumn">
        {%  include "my_items_right.html" %}
    </div>
{% endblock %}
